package com.whli.jee.system.service.impl;

import com.whli.jee.common.web.dao.IBaseDao;
import com.whli.jee.common.web.service.impl.BaseServiceImpl;
import com.whli.jee.system.dao.ISysSequenceDao;
import com.whli.jee.system.entity.SysSequence;
import com.whli.jee.system.service.ISysSequenceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * <em>类或方法作用描述</em>
 * @author whli
 * @version 2018/9/4 9:26
 * */
@Service("sysSequenceService")
public class SysSequenceServiceImpl extends BaseServiceImpl<SysSequence> implements ISysSequenceService {

	@Autowired
	private ISysSequenceDao sysSequenceDao;

	@Override
	public IBaseDao<SysSequence> getDao() {
		return sysSequenceDao;
	}

	@Override
	public SysSequence validByNo(String no, String id) {
		return sysSequenceDao.validByNo(no,id);
	}
}
